
/**
 * @brief
 *
 * @version  0.1
 * @author   wuxingchuang
 * @date     2024.11.21
 *          _
 *      ___| |__   ___ _ __   __ _  ___  _ __   __ _
 *     / __| '_ \ / _ \ '_ \ / _` |/ _ \| '_ \ / _` |
 *     \__ \ | | |  __/ | | | (_| | (_) | | | | (_| |
 *     |___/_| |_|\___|_| |_|\__, |\___/|_| |_|\__, |
 *                           |___/             |___/
 * @copyright (c) 2024 by 神工仿真, All Rights Reserved.
 */
#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Input/Material/MaterialBase.h"
#include "DataStructure/Input/Material/MaterialTypes.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN

struct MAT8FData : public MaterialBase
{
    SG::DataStructure::Common::I64 m_E1       = 0;  ///<
    SG::DataStructure::Common::I64 m_E2       = 0;  ///<
    SG::DataStructure::Common::I64 m_NU12     = 0;  ///<
    SG::DataStructure::Common::I64 m_G12      = 0;  ///<
    SG::DataStructure::Common::I64 m_G1Z      = 0;  ///<
    SG::DataStructure::Common::I64 m_G2Z      = 0;  ///<
    SG::DataStructure::Common::I64 m_GE       = 0;  ///<
    SG::DataStructure::Common::Id  m_domainId = 0;  ///<

    static MaterialTypes GetType ()
    {
        return MaterialTypes::MATTYPE_MAT8F;
    };
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const MAT8FData& val1, const MAT8FData& val2);

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE
